package com.liuyu.common.framework.spring.aware;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.BeanNameAware;
import org.springframework.stereotype.Component;

/**
 * @ClassName AwareBean
 * @Author: liuyu
 * @Date: Created in 2021/8/16 23:23
 * @Version: 1
 * @Modified By:
 */
@Component
@Slf4j
public class BeanNameAwareTest implements BeanNameAware {
    @Override
    public void setBeanName(String s) {
        log.error("BeanNameAware 设置名称");
    }
}
